package com.zjq.designpatterns.behaviors.status.code;/*
 * 版权信息: 北京千⾥马网信科技有限公司</br>
 * Copyright ©2008-2018. All rights reserved. 京ICP备16007318号
 */

/**
 * @author jessie
 * @version 1.0
 * @date 2021/1/28
 */
public abstract class CourseVideoState {
    //声明视频上下文
    protected CourseVideoContext courseVideoContext;

    public void setCourseVideoContext(CourseVideoContext courseVideoContext) {
        this.courseVideoContext = courseVideoContext;
    }

    //四种状态
    public abstract void play();
    public abstract void speed();
    public abstract void pause();
    public abstract void stop();
}
